package com.udaos.models.account;

import org.nutz.dao.entity.annotation.*;

import java.io.Serializable;

import com.udaos.common.base.Model;
import com.udaos.models.company.Ud_company;
/**
 * 主体支付账户表
* @author mutaotao
* @time   2016-11-08 11:23:10
*/
@Table("ud_account")
public class Ud_account extends Model implements Serializable {
	private static final long serialVersionUID = 1L;
	@Column
	@Name
	@Prev(els = {@EL("uuid()")})
	private String id;
	@Column
	private String name;
	@Column
	@Comment("所属主体")
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String company_id;
	@One(target = Ud_company.class, field = "company_id")
	private Ud_company company;
	@Column
	private String app_scene;
	@Column
	private String account_type;
	@Column
	private String config;
	@Column
	private String memo;
	@Column
	private String createBy;
	@Column
	private Integer createAt;
		public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id=id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name=name;
	}
	public String getCompany_id()
	{
		return company_id;
	}
	public void setCompany_id(String company_id)
	{
		this.company_id=company_id;
	}
	public String getAccount_type()
	{
		return account_type;
	}
	public void setAccount_type(String account_type)
	{
		this.account_type=account_type;
	}
	public String getConfig()
	{
		return config;
	}
	public void setConfig(String config)
	{
		this.config=config;
	}
	public String getMemo()
	{
		return memo;
	}
	public void setMemo(String memo)
	{
		this.memo=memo;
	}
	public String getApp_scene() {
		return app_scene;
	}
	public void setApp_scene(String app_scene) {
		this.app_scene = app_scene;
	}
	public Ud_company getCompany() {
		return company;
	}
	public void setCompany(Ud_company company) {
		this.company = company;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Integer getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Integer createAt) {
		this.createAt = createAt;
	}
	
}